
img{
    width: 300px;
    height: 300px;

}

#stage{
    width: 300px;
    margin: 100px auto;
    perspective: 100px;
}

.box{
    width: 300px;
    height: 300px;
    float: left;
    transition: linear 1s;
    transform-style: preserve-3d;
}

.x:hover{
    transform: rotateX(60deg);
}

.y:hover{
    transform: rotateY(60deg);
}

.z:hover{
    transform: rotateZ(60deg);
}